<template>
  <div class="stu_detail_wrap">
    <bread-crumb></bread-crumb>
    <h1>具体某个学生的信息详情</h1>
    <img
      :src="stuDetail.stu_head_img"
      alt=""
      srcset=""
      width="150px"
      height="150px"
    />
    <div>
      <p>{{ stuDetail.stu_id }}</p>
      <p>{{ stuDetail.stu_name }}</p>
    </div>
  </div>
</template>

<script>
export default {
  mounted() {
    console.log(JSON.parse(this.$route.query.stuInfoDetail));
    this.stuDetail = JSON.parse(this.$route.query.stuInfoDetail);
    console.log(this.stuDetail);
  },
  data() {
    return {
      stuDetail: {},
    };
  },
};
</script>

<style lang="scss" scoped>
.stu_detail_wrap {
  div {
    height: 30px;
  }
}
</style>